package com.suzhiliang.springbootlesson.CORS;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Copyright (C), 2015-2019, XXX有限公司
 *
 * @ClassName: CORSController
 * @Author: xmm
 * @Date: 2019/8/22 15:35
 * @Description: 跨域资源控制器类
 * @Version 1.0
 */
@RestController
public class CORSController {

    @RequestMapping(value = "/cors")
    public String corsIndex(){
        return "this is cors info";
    }
}
